package com.wfk.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @since 2019-01-24
 */
@TableName("t_items")
public class Items implements Serializable {

    private static final long serialVersionUID = 1L;

        /**
     * 这里是广告项
     */
         @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

        /**
     * 标题
     */
         private String title;

        /**
     * 简介
     */
         @TableField("abstractStr")
    private String abstractStr;

        /**
     * 图片地址
     */
         private String image;

        /**
     * 详情的地址
     */
         @TableField("detailUrl")
    private String detailUrl;

        /**
     * html标签
     */
         private String html;

        /**
     * 这里代表的是看看详情的item_id
     */
         private String itemId;

        /**
     * 创建时间
     */
         private Date createtime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAbstractStr() {
        return abstractStr;
    }

    public void setAbstractStr(String abstractStr) {
        this.abstractStr = abstractStr;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getDetailUrl() {
        return detailUrl;
    }

    public void setDetailUrl(String detailUrl) {
        this.detailUrl = detailUrl;
    }

    public String getHtml() {
        return html;
    }

    public void setHtml(String html) {
        this.html = html;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "Items{" +
        "id=" + id +
        ", title=" + title +
        ", abstractStr=" + abstractStr +
        ", image=" + image +
        ", detailUrl=" + detailUrl +
        ", html=" + html +
        ", itemId=" + itemId +
        ", createtime=" + createtime +
        "}";
    }
}
